package com.bw.service;

import java.util.List;

import com.bw.bean.Clazz;
import com.bw.bean.addBean.Classes;
import com.bw.bean.addBean.Student;
import com.bw.bean.addBean.Teachers;
import com.bw.bean.addBean.TestReturn;
import com.bw.util.PageUtil;




public interface AddService {

	List<TestReturn> getClasses() throws Exception;


	List<TestReturn> getTeacher() throws Exception;


	int doAddStudent(Student student) throws Exception;


	int doAddClasses(Classes classes) throws Exception;


	int doAddTeachers(Teachers teachers) throws Exception;


	List<Teachers> getListTeacher(PageUtil pageUtil);


	/*List<Classes> getListClasses(PageUtil pageUtil);*/


	int getCountByTeachers();


	int getCountByClasses();


	int getCountByStudent();


	/*List<Student> getListStudent(PageUtil pageUtil);*/


	List<Student> getListStudent(PageUtil pageUtil, Integer tid);


	List<Classes> getListClasses(PageUtil pageUtil, Integer tid);

   
	Clazz getClazzByClazzName(String cname);

}
